package com.example.yuanboot.common.msg;

/**
 * 响应类
 *
 * @author qingyan 2021-06-08
 */
public class BaseResponse {

    private String code = "0";

    private String msg = "成功";

    public BaseResponse(String code, String message) {
        this.code = code;
        this.msg = message;
    }

    public BaseResponse() {
    }

    public String getMessage() {
        return msg;
    }

    public void setMessage(String message) {
        this.msg = message;
    }

    public String getCode() {
        return code;
    }

    public void setStatus(String code) {
        this.code = code;
    }
}
